
//package pingjia;
import java.util.Scanner;
public class yonghupingjia {
    static Scanner sc =new Scanner(System.in);

    public static void main(String[] args) {
        System.out.println("订单已完成\n请对骑手进行评价（0~5分）");
        pingjiaqishou();
        //shangjia s1=new shangjia();
        System.out.println("请对商品进行评价：");
        pingjiashangjia();

    }

    public static void pingjiaqishou() {
        evaluate();
    }

    public static void pingjiashangjia() {
        System.out.println("订单包装（0~5分）：");
        evaluate();
        System.out.println("订单口味（0~5分）:");
        evaluate();
        System.out.println("感谢您的评价!");
    }

    public static void evaluate() {
        int s = sc.nextInt();
        if(s<0||s>5) {
            System.out.println("请在0-5分之间打分：");
            evaluate();
        }

    }

}